const option = {
	title: {
		text: '订单用户投放的楼盘前五名',
		padding: [10, 10]
	},
  xAxis: {
    type: 'category',
    data: []
  },
  yAxis: {
    type: 'value'
  },
  series: [
    {
      data: [],
      type: 'bar',
      showBackground: true,
      barWidth: '50%',
      backgroundStyle: {
        color: 'rgba(180, 180, 180, 0.2)'
      }
    }
  ],
  axisLabel: {  
    formatter: function (value, index) {  
        // 精简或格式化标签内容  
        if (value.length > 4) {  
            return value.slice(0, 4) + '...';  
        }  
        return value;  
    }  
}  
};

export default option